package test1;

import java.util.Scanner;

/**
 * @Author admin
 * @Date 2019/3/22 10:25
 */
public class Test {
    public static void main(String[] args) {
        System.out.println("请输入1--HP或2--CN");
        Scanner sc=new Scanner(System.in);
        int sr=sc.nextInt();
        Printer printer = PrinterFactory.getPrinter(sr);

    }
}
